<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            color: #1ecc2c;
            text-align: center;
            line-height: 50px;
            text-decoration: underline;
            font-weight: bold;
            background-color: lightblue;
            font-family: 楷体;
            
        }
        /*  text-align:center;是让块标签文字居中的代码需要写在内联里面*/
        /* line-height: 30px;这是让文字行高垂直的一般和居中搭配进行 */
        /* 修改rgb颜色需要用十转16进制的得来进行修改*/
        body{
            background-color: pink;
            width: 500px;
            height: 300px;
            /* 调背景颜色 */
            background-repeat: no-repeat;
            background-image: url("https://t10.baidu.com/it/u=3591208263,1594340021&fm=170&s=F63731C48CE0961537B282980300109F&w=607&h=449&img.PNG");
            background-position: 10px 200px;
            /* 调背景图像方向 */
            

        }
        a{
            text-decoration: none;
            /* 去掉超链接的下划线 */
        }

    </style>
</head>
<body>
   <p>沃特阿哟干啥勒</p>
   <h1>沃尔沃</h1>
   <a href="#">振刀</a>
   <div>我擦勒</div>
</body>
</html>